package cn.cttic.order.api.domain.bo;

import cn.cttic.order.api.domain.BaseInstallOrderVerify;
import cn.cttic.common.mybatis.core.domain.BaseEntity;
import cn.cttic.common.core.validate.AddGroup;
import cn.cttic.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 验收数据业务对象 base_install_order_verify
 *
 * @author Times.Studio
 * @date 2024-09-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = BaseInstallOrderVerify.class, reverseConvertGenerate = false)
public class BaseInstallOrderVerifyBo extends BaseEntity {

    /**
     * 标识
     */
    @NotBlank(message = "标识不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 销售订单
     */
    @NotBlank(message = "销售订单不能为空", groups = { AddGroup.class, EditGroup.class })
    private String saleOrderId;

    /**
     * 安装订单
     */
    @NotBlank(message = "安装订单不能为空", groups = { AddGroup.class, EditGroup.class })
    private String installOrderId;

    /**
     * IMEI号码
     */
    @NotBlank(message = "IMEI号码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String imei;


}
